/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DEMOS;

import edu.chalmers.AV_2DPlatformerFramework.Game;
import edu.chalmers.AV_2DPlatformerFramework.View.Camera;

/**
 *
 * @author Richard
 */
public class demo_Game extends Game {

    public demo_Game() {
        super(1280, 768, "Demonstration ");
    }
    
    public static void main(String[] args){
        demo_Game game = new demo_Game();
        demo_GameModel gameModel = new demo_GameModel();
        demo_View view = new demo_View();
        
        view.camera = new Camera();
        
        game.setCModel(gameModel);
        game.add(view);
        
        view.setModel(gameModel);

        view.setVisible(true);
        game.setVisible(true);
    }
    
}
